#!/bin/bash

ifconfig wlan0 down
ifconfig wlan0 up
ifconfig -a wlan0 192.168.2.1 netmask 255.255.255.0
route add default gw 192.168.2.1 wlan0
hostapd /etc/hostapd/hostapd.conf
